from django.db import models

from meiduo_mall.utils.my_model import BaseModel
from users.models import User

# Create your models here.


class QQUserModel(BaseModel):
    user = models.ForeignKey(User, on_delete=models.CASCADE, verbose_name='美多商城用户')
    openid = models.CharField(max_length=64, verbose_name='qq用户')

    class Meta:
        db_table = 'tb_qq_user'